import request from '@/utils/request'

// 查询一致性指标列表
export function listAncherConsistency(query) {
  return request({
    url: '/dataAncher/ancherConsistency/list',
    method: 'get',
    params: query
  })
}

// 查询一致性指标详细
export function getAncherConsistency(ID) {
  return request({
    url: '/dataAncher/ancherConsistency/' + ID,
    method: 'get',
    data: ID
  })
}

// 新增一致性指标
export function addAncherConsistency(data) {
  return request({
    url: '/dataAncher/ancherConsistency/add/',
    method: 'post',
    data: data
  })
}

// 修改一致性指标
export function updateAncherConsistency(data) {
  return request({
    url: '/dataAncher/ancherConsistency/edit/',
    method: 'put',
    data: data
  })
}

// 删除一致性指标
export function delAncherConsistency(ID) {
  return request({
    url: '/dataAncher/ancherConsistency/remove/' + ID,
    method: 'delete'
  })
}
